@if($value)
    <span style="font-size: 95%;padding: .2em 0 .3em;">
    @if($value->apply_status == 1)
            <a class="grid-editable-paid_amount"
               href="#" data-type="text"
               data-pk="{{ $value->id }}"
               data-url="{{ '/xqc/reimburse/apply-paid/'.$value->id }}"
               data-value="{{ $value->paid_amount }}">{{ $value->paid_amount }}</a>
            <br/>
            未申请
            <br/>
            <button class='btn btn-xs btn-success grid-check-apply' data-id="{{ $value->id }}">申请</button>
        @elseif($value->apply_status == 2 && $value->audit_status == 1)
            {{ $value->paid_amount }}
            <br/>
            待审核
            <br/>
            <button class='btn btn-xs btn-warning grid-check-revoke' data-id="{{ $value->id }}">撤回</button>
        @elseif($value->audit_status == 2 && $value->paid_status == 1)
            {{ $value->paid_amount }}
            <br/>
            待付款
            <br/>
            <button class='btn btn-xs btn-warning grid-check-revoke' data-id="{{ $value->id }}">撤回</button>
        @elseif($value->paid_status == 2)
            {{ $value->paid_amount }}
            <br/>
            已付款
        @else
            {{ $value->paid_amount }}
            <br/>
            异常
        @endif
    </span>
@endif

